﻿@model List<WebApplication4.Models.Task>


@{
    ViewBag.Title = "Values";
    //Layout = null;
}

<h2>Values</h2>
@*@ViewData["id"]
    <br/>
    @TempData["code"]
    <br/>
    @ViewBag.Age*@

@*@(((WebApplication4.Models.Task)ViewData["Task"]).Content)
    <br/>
    @TempData["Task"]
    @ViewBag.Task.Content*@
<table class="table table-striped table-hover">

        <thead>
            <tr>
                <th>编号</th>
                <th>内容</th>
            
            </tr>
        </thead>
   
    <tbody>
        @foreach (var item in Model)
        {
            <tr>

                <td>@item.TaskID</td>
                <td>@item.Content</td>

            </tr>

        }
    </tbody>
</table>